﻿namespace FluentViewModel.Test
{
    public sealed class AddressViewModelConfiguration : ConfigureViewModel<IAddressViewModel>
    {
        public AddressViewModelConfiguration()
        {
            Controller<IViewModelController>();
            Transient();
            Notify(x => x.Id);
            Notify(x => x.Street);
            Notify(x => x.City);
            Notify(x => x.PostalCode);
            //Model<AddressModel>(c =>
            //{
            //    c.Map(x => x.Id);
            //    c.Map(x => x.Street);
            //    c.Map(x => x.City);
            //    c.Map(x => x.PostalCode);
            //});
            //Model<TestModel>(c =>
            //{
            //    c.Map(x = x.TestCounter);
            //});
        }
    }
}